// unordered_map::emplace
#include <bits/stdc++.h>
using namespace std;
int main ()
{
    unordered_map<string,string> mymap;
    mymap.emplace ("NCC-1701", "J.T. Kirk");
    mymap.emplace ("NCC-1701-D", "J.L. Picard");
    mymap.emplace ("NCC-74656", "K. Janeway");
    cout << "mymap contains:" << "\n";
    for (auto& x: mymap)
        cout << x.first << ": " << x.second << "\n";
  return 0;
}